package com.tzbank.esb.consumer;

import java.util.Date;
import java.util.Map;

import com.tzbank.esb.param.ReqConsumer;
import com.tzbank.esb.param.SysHead;

public class Consumer {
	
	public static Map test() {
		ReqConsumer reqConsumer = new ReqConsumer();
		SysHead sysHead = new SysHead();
		sysHead.setServiceCode("11003000017");
		sysHead.setServiceScene("04");
		sysHead.setClientNo("");
		sysHead.setEClientNo("");
		sysHead.setUserNo("");
		sysHead.setSourceType("PMBS");
		sysHead.setConsumerSeqNo("123456");
		sysHead.setTranTimestamp(new Date().getTime()+"");
		sysHead.setBranchId("");
		sysHead.setSourceBranchNo("");
		sysHead.setDestBranchNo("");
		reqConsumer.setSysHead(sysHead);
		reqConsumer.setLogonId("220221196001123012");
		reqConsumer.setQueryFlag("");
		return	EsbBeanConsumerUtil.esbConsumer(reqConsumer);
		}
	
	public static void main(String[] args) {
		test();
	}

}
